//
//  TNNotificationView.m
//  跑跑快销
//
//  Created by ylife on 14-5-4.
//  Copyright (c) 2014年 ylife. All rights reserved.
//

#import "TNNotificationView.h"
#import "TNNotificationCell.h"
@implementation TNNotificationView

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
        [self createNotificationTableView];
    }
    return self;
}

- (void)createNotificationTableView
{
    _notificationTableView = [[UITableView alloc]initWithFrame:CGRectMake(0, 0, 320, PHONESIZEHEIGHT) style:UITableViewStylePlain];
    [_notificationTableView registerClass:[TNNotificationCell class] forCellReuseIdentifier:@"notificationCell"];
    [self addSubview:_notificationTableView];
}


@end
